package com.eshopkeeper.dao.sys;


import com.eshopkeeper.core.base.BaseMapper;
import com.eshopkeeper.model.sys.SysSession;

import java.util.List;

public interface SysSessionMapper extends BaseMapper<SysSession> {

    void deleteBySessionId(String sessionId);

    Long queryBySessionId(String sessionId);

    List<String> querySessionIdByAccount(String account);
    /**
     * Title:根据account 用户账号查询会话信息
     * @param account
     * @return
     */
    public SysSession queryByAccount(String account);
}